##
##  Makefile.am,v 1.9 2002/08/11 05:18:59 ralf Exp
##

MANAGERS = all

if LIBCHIP

rtems_tests_PROGRAMS = testrtemsaio
testrtemsaio_SOURCES = system.h init.c 

# dist_rtems_tests_DATA = testrtemsaio.doc
endif

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

if LIBCHIP
testrtemsaio_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

LINK_OBJS = $(testrtemsaio_OBJECTS) $(testrtemsaio_LDADD)
LINK_LIBS = $(testrtemsaio_LDLIBS)

testrtemsaio$(EXEEXT): $(testrtemsaio_OBJECTS) $(testrtemsaio_DEPENDENCIES)
	@rm -f testrtemsaio$(EXEEXT)
	$(make-exe)
endif

include $(top_srcdir)/../automake/local.am
